// SetSheet.cpp : implementation file
//

#include "stdafx.h"
#include "SpecParamSheet.h"
#include "HubImage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSpecParamSheet

IMPLEMENT_DYNAMIC(CSpecParamSheet, CPropertySheet)

CSpecParamSheet::CSpecParamSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}

CSpecParamSheet::CSpecParamSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
//	AddPage(&m_SpecSystemParamPage);
//	AddPage(&m_SpecXRayCtrlParamPage);
}

CSpecParamSheet::~CSpecParamSheet()
{
}


BEGIN_MESSAGE_MAP(CSpecParamSheet, CPropertySheet)
	//{{AFX_MSG_MAP(CSpecParamSheet)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		ON_WM_CREATE()
	//}}AFX_MSG_MAP
	ON_WM_DESTROY()
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSpecParamSheet message handlers

int CSpecParamSheet::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	return 0;
}
void CSpecParamSheet::OnDestroy()
{
	CPropertySheet::OnDestroy();

	// TODO: Add your message handler code here
	m_SpecSystemParamPage.OnMyOK();
	
// 	MyMainFrame->m_pDynamicView->LoadXRayParam();
// 	MyMainFrame->m_pDynamicView->LoadMoveCtrlParam();
}
